﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Willow.Model;

namespace Willow.IService.Auth
{
    public interface IModuleService : IService<Auth_Module>
    {
        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="id">The identifier.</param>
        void LogicalDelete(Guid id);
        /// <summary>
        /// 分配模块和功能
        /// </summary>
        /// <param name="roleId">The role identifier.</param>
        /// <param name="moduleIds">The module ids.</param>
        /// <param name="actionIds">The action ids.</param>
        void DistributeModuleAndAction(Guid roleId, Guid[] moduleIds, Guid[] actionIds);
    }
}
